package com.jrx.anytxn.investor.mapper.ext;

import com.jrx.anytxn.investor.entity.TlInvestorInterestAccrualLog;
import com.jrx.anytxn.investor.mapper.base.TlInvestorInterestAccrualLogMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 出资方利息计提日志mapper扩展
 *
 * @author liuyang
 * @date  2020-05-26
 **/
public interface ExtTlInvestorInterestAccrualLogMapper extends TlInvestorInterestAccrualLogMapper {

    /**
     * 批量插入出资方利息计提日志
     *
     * @param insertInvestorInterestAccrualLogs
     * @return int 插入的条数
     * @author liuyang
     * @date  2020-05-26
     */
    int batchInsertInvestorInterestAccrualLog(List<TlInvestorInterestAccrualLog> insertInvestorInterestAccrualLogs);

    List<TlInvestorInterestAccrualLog> selectByAccrualDate(@Param("accrualDate") Date accrualDate);

}